package org.example.gateway.event;

import org.example.gateway.pojo.dto.AppRuleDto;
import org.springframework.context.ApplicationEvent;

public class RuleDeleteEvent extends ApplicationEvent {
    private AppRuleDto appRuleDto;

    public RuleDeleteEvent(Object source, AppRuleDto appRuleDto) {
        super(source);
        this.appRuleDto = appRuleDto;
    }

    public AppRuleDto getAppRuleDto() {
        return appRuleDto;
    }
}
